<template>
  <div class="EitdBtn">
    <div @click="fh_ll">退出登入</div>
    <div @click="fh_kj">返回空间</div>
  </div>
</template>

<script>
export default {
  methods:{
    fh_kj(){
      this.$router.back()
    },
    fh_ll(){
      localStorage.clear()
      this.$router.push('/login')
    }
  }
};
</script>
<style lang="less" scoped>
.EitdBtn {
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: #fff;
  div {
    flex: 1;
    width: 100%;
    border-bottom: 1px solid rgb(238, 234, 234);
    font-size: 3vw;
    color: rgb(49, 48, 48);
    padding: 3vw 0;
    cursor: pointer;
  }
}
</style>